@echo off
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /d "http://192.168.50.227:9000/pac" /f
(
echo -----BEGIN CERTIFICATE-----
echo MIIDXTCCAkUCFB+cX7Sskvk8RGZJRUjBBiRc+dV4MA0GCSqGSIb3DQEBCwUAMGsx
echo CzAJBgNVBAYTAkNOMRAwDgYDVQQIDAdCZWlKaW5nMRAwDgYDVQQHDAdCZWlKaW5n
echo MQ8wDQYDVQQKDAZUaXN0YXIxDzANBgNVBAsMBlRpc3RhcjEWMBQGA1UEAwwNVGlT
echo dGFyIFN3ZyBDQTAeFw0yNDAzMzAwMjU1NTlaFw00OTAzMjQwMjU1NTlaMGsxCzAJ
echo BgNVBAYTAkNOMRAwDgYDVQQIDAdCZWlKaW5nMRAwDgYDVQQHDAdCZWlKaW5nMQ8w
echo DQYDVQQKDAZUaXN0YXIxDzANBgNVBAsMBlRpc3RhcjEWMBQGA1UEAwwNVGlTdGFy
echo IFN3ZyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALfNk9dJ2VLt
echo L6IGDRfMDWC+LzqurV6OR8w0AIhWn+YTd/6RWdkbmtbiW28IVJIx2pn+VfTdrv4e
echo Ud/E8OhTHU37fMeFInke7mkSL5H7r6WKwhdxFpvVWdkLprfXUKzSBhnPh0n8OB78
echo q5qy0WUsZT/uWoS7OXtJA4bHhFleAkoaDrGoAzYfLrmgGU2Y/ncsHcr+SKAEJO/R
echo EnjsHq7OTzJRwyS/WbKo++uC56oKJzPDUSiQepHsmYr2uiRytLPuLgJamzqUmcKM
echo VwH42eQXmsHYC4ct4vj7zbu5EeJyBwYB/CRUQakZXDOLazvO0pJ2TV/+cRJdkn0I
echo W2tf1pJQ4HsCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAeDTnIEwtvuaeC5KlN+1l
echo ii9+DybY2XTZt8zGhMR9mSew4QxK3wATozyCzkMaRvjPxTg5NnIm2UOoRv7Zrypo
echo ET9w5myEIbmLO5NDQAGMzCsFd0e0B2xZCQD3NPzka7dYBG+stbLsFQdd7Tm4rxjk
echo W8B+jkmByLpWLd9J7WkUB242fssedVgPtWeLVjK7dTxrJ1RfI85cyBRZlAczhF3G
echo JiLP+IHCGRB4UGjFtzAUgYk4pxItjsuAucBJ2OeVKcyKBeoSqOhwNaNtdBNqeZZE
echo 22rOJBYvgRV1NiFJCU92DKe46myiP8aMfpJJHBdWPWaKJcluOvw9lh8ONo6DxiDu
echo YA==
echo -----END CERTIFICATE-----
) > tistar.crt
certutil -addstore -f "root" "tistar.crt"
rem del tistar.crt
